package model;

public class Coordinate 
{
	protected float _x;
	protected float _y;
	
	public Coordinate(float x, float y)
	{
		this.setX(x);
		this.setY(y);
	}

	public float getX() 
	{
		return _x;
	}

	public void setX(float x) {
		this._x = x; //(x / OnScreen.getInstance().getXCorrection());
	}

	public float getY() {
		return _y;
	}

	public void setY(float y) {
		this._y = y; //(y * OnScreen.getInstance().getYCorrection());
	}
	
	@Override
	public String toString() 
	{
		return String.format("{%f ; %f}", _x, _y);
	}
}
